/**
 * @author SilverBiology, LLC
 * @website http://code.google.com/p/gbif-spreadsheet-processor/
*/
Ext.namespace('GBIF');
Ext.namespace('GBIF.GeoSpatial')

GBIF.GeoSpatial.LegendPanel = function(config){
	
	Ext.apply(this,config,{
			defaults: {
					labelCls: 'legendLabel'
				,	style: 'padding:5px'
				,	imageFormat: 'image/gif'
				,	useScaleParameter: false
			}
		,	bodyStyle: "padding: 1px;"
		,	filter: function(record) {
				return !record.get("layer").isBaseLayer;
			}	
	});

	GBIF.GeoSpatial.LegendPanel.superclass.constructor.call(this, config);

}

Ext.extend(GBIF.GeoSpatial.LegendPanel,GeoExt.LegendPanel, {});